import http from "@/utils/request"

//获取学员信息
export let getStuListApi = params => http.get("/students/getstulist", {
    params
})

export let addStuListApi = params => http.post("/students/addstu", params)

export let delStuListApi = params => http.get("/students/delstu", {
    params
})

export let updateStuListApi = params => http.post("/students/updatestu", params
)

export let searchStuApi = params => http.get("/students/searchstu", {
    params
})

//上传图片的接口是这个
export let uploadApi = params => http.post("/upload/uploadImg", params)